FROM python:3.12.4-slim-bullseye

WORKDIR /goipstatussim

COPY ["main.py", "requirements.txt", ".env", "/goipstatussim/"]
COPY static /goipstatussim/static
COPY templates /goipstatussim/templates

RUN pip install --no-cache-dir -r requirements.txt
CMD [ "python", "main.py" ]